package com.peas.platform.module.icims.base.auth.dto;

import java.util.*;

import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.dto.BaseDto;
import lombok.Data;
import lombok.EqualsAndHashCode;

// 用户功能收藏
@Data
@EqualsAndHashCode(callSuper = false)
public class UserFavoriteDto extends BaseDto {

    // 用户表ID
    // （用户表）外键
    @Comment(value = "用户表ID")
    private Long userId;

    // 标题
    @Comment(value = "标题")
    private String title;

    // 图标
    @Comment(value = "图标")
    private String icon;

    // 名称
    @Comment(value = "名称")
    private String name;

    // 路径
    @Comment(value = "路径")
    private String path;

    // 权限表ID
    // （权限表）外键
    @Comment(value = "权限表ID")
    private Long permissionId;

    // 收藏时间
    @Comment(value = "收藏时间")
    private Date favoriteTime;

    // 收藏IP
    @Comment(value = "收藏IP")
    private String favoriteIp;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
    private Date favoriteTimeStart;
    private Date favoriteTimeEnd;
}
